home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / devel / tcl / tclx7_31.z / tclx7_31 / tcldev / tclX7.3a-p1 / tools / Makefile.in < prev    next >
Encoding:
Makefile  |  1993-11-25  |  2.6 KB  |  84 lines

  1. #
  2. # tools/Makefile.in  --
  3. #
  4. # Makefile for building tools used during install
  5. #------------------------------------------------------------------------------
  6. # Copyright 1992-1993 Karl Lehenbauer and Mark Diekhans.
  7. #
  8. # Permission to use, copy, modify, and distribute this software and its
  9. # documentation for any purpose and without fee is hereby granted, provided
  10. # that the above copyright notice appear in all copies.  Karl Lehenbauer and
  11. # Mark Diekhans make no representations about the suitability of this
  12. # software for any purpose.  It is provided "as is" without express or
  13. # implied warranty.
  14. #------------------------------------------------------------------------------
  15. # $Id: Makefile.in,v 3.2 1993/11/19 08:22:02 markd Exp $
  16. #------------------------------------------------------------------------------
  17. #
  18. SHELL = /bin/sh
  19.  
  20. #------------------------------------------------------------------------------
  21.  
  22. CC          = @CC@
  23. srcdir      = @srcdir@
  24. srcbasedir  = @srcbasedir@
  25. bldbasedir  = @bldbasedir@
  26. VPATH       = @srcdir@
  27. prefix      = /usr/local
  28. exec_prefix = /usr/local
  29. XINCLUDES   = @XINCLUDES@
  30.  
  31. @MAKEINCLUDE@ @MAKEQUOTE@${bldbasedir}/Config.mk@MAKEQUOTE@
  32.  
  33. #------------------------------------------------------------------------------
  34.  
  35. CC_FLAGS = ${CPPFLAGS} ${XCFLAGS} ${CFLAGS} -I${srcbasedir}/src \
  36.            ${XINCLUDES} -I${TCL_UCB_SRC}
  37.  
  38. .c.o:
  39.     ${CC} ${CC_FLAGS} -c $<
  40.  
  41. #------------------------------------------------------------------------------
  42.  
  43. all: tclxversion $(TK_BUILD) instcopy bldmanhelp cpmanpages cphelpdir
  44.  
  45. tclxversion: getversion.c
  46.     $(CC) $(CC_FLAGS) ${srcdir}/getversion.c -o tclxversion
  47.  
  48. WISHX: tkxversion
  49.  
  50. tkxversion: getversion.c
  51.     $(CC) $(CC_FLAGS) -I$(TK_UCB_SRC) -DTK_GET_VERSION \
  52.        ${srcdir}/getversion.c -o tkxversion
  53.  
  54. instcopy: instcopy.tcl buildutil.tcl
  55.     rm -f instcopy
  56.     cat ${srcdir}/buildutil.tcl ${srcdir}/instcopy.tcl >instcopy
  57.  
  58. bldmanhelp: bldmanhelp.tcl
  59.     rm -f bldmanhelp
  60.     cp ${srcdir}/bldmanhelp.tcl bldmanhelp
  61.  
  62. cpmanpages: cpmanpages.tcl buildutil.tcl
  63.     rm -f cpmanpages
  64.     cat ${srcdir}/buildutil.tcl ${srcdir}/cpmanpages.tcl >cpmanpages
  65.  
  66. cphelpdir: cphelpdir.sh
  67.     rm -f cphelpdir
  68.     echo ":"                           >cphelpdir
  69.     echo "TOOLS=${bldbasedir}/tools"   >cphelpdir
  70.     cat ${srcdir}/cphelpdir.sh        >>cphelpdir
  71.     chmod a+x cphelpdir
  72.  
  73. #------------------------------------------------------------------------------
  74.  
  75. clean:
  76.     -rm -f tclxversion tkxversion *.o
  77.     -rm -f instcopy bldmanhelp cpmanpages cphelpdir TclXman.lst
  78.  
  79. #------------------------------------------------------------------------------
  80. # Restore to the distributed state.
  81.  
  82. distclean: clean
  83.     rm -f Makefile
  84.